package com.djq.hhc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.djq.hhc.model.post.PostInfo;
import com.djq.hhc.result.Result;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: dadd7
 * @Date: 2023/03/02/下午 4:41
 * @Description:
 */
public interface PostInfoService extends IService<PostInfo> {
    Result updateUserById(PostInfo postInfo);

    Result likePost(Long id);

    void isPostLiked(PostInfo postInfo);

    Result getLikesRank(String token, Long id);
}
